package com.hongdee.market.bc.service;


import com.hongdee.market.bc.entity.TBcCustomeItemScore;

import java.util.List;
import java.util.Map;

/**
 * Created by dell on 2017/5/17.
 */
public interface ITBcCustomItemSocreService {
    /**
     * 树结构查询
     */
    public List tree(String uid) throws Exception;

    /**
     * 启用停用
     */
    public void update(String id, String status) throws Exception;

    /**
     * 详情查询
     **/
    public Map info(String id) throws Exception;

    /**
     * 下拉
     */
    public List<Map> combo() throws Exception;

    /**
     * 保存与更新
     */
    public TBcCustomeItemScore saveOrUpdate(TBcCustomeItemScore tBcCustomeLevelConf) throws Exception;

    /**
     * 分页查询
     */
    public Map newPage(String companyId, String start, String limit, String id) throws Exception;

    /***
     * 根据公司 ID，项目编码获取设定的评分值
     * @param companyId
     * @param itemId
     * @return
     * @throws Exception
     */
    public Map scoreConver(String companyId, String itemId) throws Exception;
}
